package ${package}.service.impl;

import org.wang.generalcode.support.base.BaseServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import ${package}.mapper.${ClassName}Mapper;
import ${package}.pojo.entity.${ClassName}Entity;
import ${package}.pojo.param.${ClassName}Params;
import ${package}.service.${ClassName}Service;
import ${package}.pojo.vo.${ClassName}VO;
import ${package}.converter.${ClassName}Converter;

/**
 * ${tableComment}服务实现类
 *
 * @author ${author}
 * @since ${date}
 */
@Service
@RequiredArgsConstructor
public class ${ClassName}ServiceImpl extends BaseServiceImpl<${ClassName}Mapper, ${ClassName}Entity> implements ${ClassName}Service {

    private final ${ClassName}Converter ${ClassName?lower_case}Converter;

    /**
     * 获取${tableComment}分页列表
     *
     * @param queryParams 查询参数
     * @return {@link IPage<${ClassName}VO>} ${tableComment}分页列表
     */
    @Override
    public IPage<${ClassName}VO> get${ClassName}Page(IPage<${ClassName}VO> page, ${ClassName}Params queryParams) {
        return page.setRecords(baseMapper.get${ClassName}Page(page, queryParams));
    }
}
